<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2025/8/18 星期一
  Time: 15:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>

<head>
    <base href="${pageContext.request.contextPath}/" />
    <title>襄阳蓝芯智能化办公系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="static/bootstrap-3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="static/bootstrapvalidator/css/bootstrapValidator.css"
          rel="stylesheet">
    <style>
        /*定义类名为.thead-blue的样式*/
        .thead-blue {
            color: #fff;
            font-weight: bold;
            background-color: #337ab7;
        }
    </style>
    <script src="static/jquery/jquery-1.10.2.min.js"></script>
    <script src="static/bootstrap-3.3.5/js/bootstrap.js"></script>
    <script src="static/bootstrapvalidator/js/bootstrapValidator.js"></script>

</head>
<body>

<!-- 搜索 -->
<div class="panel panel-primary">
    <div class="panel-heading">
        <h4 class="panel-title">审批记录</h4>
    </div>
    <div class="panel-body">

            <c:forEach items="${approvalVos}" var="approvalVo" varStatus="loop">
                <div class="row">
                    <div class="form-group col-md-12">
                        <div class="col-md-12">
                            <div class="panel panel-primary">
                                <div class="panel-heading" style="text-align: center">
                                        ${approvalVo.nodeName}
                                </div>
                                <div class="panel-body">
                                    <div class="col-md-7">
                                        <span class="text-primary">${approvalVo.deptName}${approvalVo.jobName}</span>
                                        <span class="text-danger"></span> 审批
                                    </div>
                                    <div class="col-md-5">
                                        <span class="text-success"></span>
                                        <span class="text-danger"></span>
                                        <span class="text-warning">
                                            <c:choose>
                                                <c:when test="${approvalVo.status=='O'}">待审批</c:when>
                                                <c:when test="${approvalVo.status=='Y'}">审批通过</c:when>
                                                <c:when test="${approvalVo.status=='N'}">审批失败</c:when>
                                            </c:choose>
                                            </span>
                                    </div>
                                    <div class="col-md-12">
                                        &nbsp;
                                    </div>
                                    <div class="col-md-12">
                                        审批意见:${approvalVo.opinion}
                                    </div>
                                </div>
                            </div>
                        </div>
                        <c:if test="${loop.index+1<approvalVos.size()}">
                            <div class="col-md-6 col-md-offset-3" style="text-align: center">
                                <img src="static/img/next.png" width="38px">
                                <BR><BR>
                            </div>
                        </c:if>
                    </div>

            </c:forEach>

            <div class="form-group col-md-12">
                <div class="col-md-6  col-md-offset-3" style="text-align: center">
                    <button type="button" onclick="history.back()" class="btn btn-default">返回</button>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
